import use_case.handlereturns.DVD;
import junit.framework.TestCase;


public class DVDTest extends TestCase {
	private DVD d;
	
	protected void setUp(){
		d = new DVD("StarWars", "Action", 51849451);
	}
	
	protected void tearDown(){
		d = null;
	}
	
	public void testGetName(){
		setUp();
		String expected = "StarWars";
		assertEquals(expected, d.getName());
		tearDown();
	}
	
	public void testGetID(){
		setUp();
		int expected = 51849451;
		assertEquals(expected, d.getID());
		tearDown();
	}
}
